package com.prs.crm.service.oa.impl;

import java.util.List;

import com.prs.crm.dao.oa.MyMailListTypeDao;
import com.prs.crm.dao.oa.PublicMailListTypeDao;
import com.prs.crm.domain.hr.Person;
import com.prs.crm.domain.oa.MyMailListType;
import com.prs.crm.domain.oa.PublicMailListType;
import com.prs.crm.service.impl.BaseServiceImpl;
import com.prs.crm.service.oa.MyMailListTypeService;
import com.prs.crm.service.oa.PublicMailListTypeService;

public class PublicMailListTypeServiceImpl extends BaseServiceImpl<PublicMailListType, PublicMailListTypeDao> implements PublicMailListTypeService{

	@Override
	public PublicMailListType getTypeByTitle(String title,Person person) {
		// TODO Auto-generated method stub
		return this.getDao().getTypeByTitle(title, person);
	}

	@Override
	public List<PublicMailListType> getAllPublicMailListType() {
		return this.getDao().getAllPublicMailListType();
	}

}
